import { NgModule } from '@angular/core';

import { HomeRoutingModule } from './home-routing.module';
import { SharedModule } from '../shared/shared.module';
import { ChildComponent, HomeAuxComponent, HomeContainerComponent, HomeDetailComponent, HomeGrandComponent, ParentComponent } from './components';
import { HomeService, token } from './service';


@NgModule({
  declarations: [
    HomeContainerComponent,
    HomeDetailComponent,
    HomeGrandComponent,
    HomeAuxComponent,
    ParentComponent,
    ChildComponent
  ],
  providers: [
    HomeService, {
    provide: token,
    useValue: 'localhost.dev'
  }],
  imports: [
    SharedModule,
    HomeRoutingModule
  ]
})
//tslint:disable
export class HomeModule {

}
